<html>
<head>
<TITLE>Marsems System</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="../css/style.css" type=text/css rel=stylesheet>
</head>
<script language="javascript" src="../js/Validation.js" type="text/JavaScript"></script>

{literal}
<SCRIPT language=JavaScript>
var valid = new Validation();

function checkForm(){
	if (valid.isEmpty("question","Question")){
		return false;
	}else{
		return true;
	}
}
</script>

{/literal}

<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="">
  <table width="100%" cellspacing="0" cellpadding="4">
    <tr bgcolor="#E4E4E4"> 
      <td  width="20%">Add Info</td>
      <td  width="70%"><font color="#FF0000">&nbsp;{$error_message}</font></td>
      <td  width="10%" align="right">&nbsp;<A href="{$backurl}" target="_self">Back</A>&nbsp;&nbsp;</td>
    </tr>
    <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
      <td height="23" align="right">&nbsp;Title:</td>
      <td height="23" colspan="2">
<input name="title" type="text" id="title" value="{$title}" size="40" maxlength="100"> <font color="#FF0000">*</font></td>
    </tr>
    <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
      <td height="23" align="right">Level:</td>
      <td height="23" colspan="2">
{html_radios name="level" options=$arrLevel checked=$levelS separator=" "} <font color="#FF0000">*</font></td>
    </tr>
    <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
      <td height="23" align="right">Type:</td>
      <td height="23" colspan="2">
<select name="acceptType" onChange="return submit();">
  	{html_options options=$arrAcceptType selected=$acceptTypeS}
</select> <font color="#FF0000">*</font></td>
    </tr>
    <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
      <td height="23" align="right">Object:</td>
      <td height="23" colspan="2">
<select name="accept">
  	{html_options options=$arrAccept selected=$acceptS}
</select> <font color="#FF0000">*</font></td>
    </tr>
<tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
      <td height="23" align="right">Content:</td>
      <td height="23" colspan="2">&nbsp;
{$fckHtml}</td>
    </tr>
    
     <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
      <td height="23">&nbsp;</td>
      <td height="23" colspan="2">
        <input type="submit" name="Submit" value="Submit" onClick="return checkForm()">
        <input type="reset" name="Reset" value="Reset">
        <input name="menuGid" type="hidden" id="menuGid" value="{$menuGid}">
        <input name="menuid" type="hidden" id="menuid" value="{$menuid}">
        <input name="backurl" type="hidden" id="backurl" value="{$backurl}"></td>
    </tr>
  </table>
</form>
</body>
</html>